<template>
  <div id="chartLineBox3" style="width: 100%; height: 300px"></div>
</template>
<script>
import echarts from "echarts";
export default {
  mounted() {
    let chartDom3 = document.getElementById("chartLineBox3");
    let myChart3 = echarts.init(chartDom3);
    let option;
    option = {
      legend: {},
      xAxis: {
        type: "category",
        data: ["03/11", "03/12", "03/13", "03/14", "03/15", "03/16"],
      },
      yAxis: {
        type: "value",
      },
      series: [
        {
          name: "日常巡检",
          data: [0, 0, 0, 0, 0],
          type: "line",
          smooth: true,
          // lineStyle: {
          //   color: "palegreen",
          // },
          // areaStyle: {
          //   color: "lightgreen",
          // },
        },
        {
          name: "设备维修",
          data: [0, 0, 0, 0, 0],
          type: "line",
          smooth: true,
          // lineStyle: {
          //   color: "palegreen",
          // },
          // areaStyle: {
          //   color: "lightgreen",
          // },
        },
        {
          name: "定期保养",
          data: [0, 0, 0, 0, 0],
          type: "line",
          smooth: true,
          // lineStyle: {
          //   color: "palegreen",
          // },
          // areaStyle: {
          //   color: "lightgreen",
          // },
        },
        {
          name: "报警处理",
          data: [0, 0, 0, 0, 0],
          type: "line",
          smooth: true,
          // lineStyle: {
          //   color: "palegreen",
          // },
          // areaStyle: {
          //   color: "lightgreen",
          // },
        },
        {
          name: "其他",
          data: [0, 0, 0, 0, 0],
          type: "line",
          smooth: true,
          // lineStyle: {
          //   color: "palegreen",
          // },
          // areaStyle: {
          //   color: "lightgreen",
          // },
        },
      ],
    };
    option && myChart3.setOption(option);
  },
  data() {
    return {};
  },
};
</script>
<style scoped>
/* a{
    background-color: palegreen;
} */
</style>
